using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Windows.Data;
using Ricciolo.PaperBoy.Feeds;

namespace Ricciolo.PaperBoy.UI
{
    public class FeedListCollectionView : ListCollectionView
    {
        private readonly FeedBaseCollection list;

        public FeedListCollectionView(FeedBaseCollection list) : base(list)
        {
            this.list = list;
        }

        public override bool IsEmpty
        {
            get
            {
                return list.Folder.TotalItemCount == 0;
            }
        }
    }
}
